<div id="<?=$type?>"></div>

<?php if($type == "wilayah"){?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:2px; margin-bottom:2px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="A.id_provinsi">Provinsi</option>
							<option value="A.id_kabupaten">Kabupaten</option>
							<option value="A.id_kecamatan">Kecamatan</option>
							<option value="A.id_kelurahan">Kelurahan</option>
							<option value="A.nama_wilayah">Nama Wilayah</option>
						</select>
			&nbsp;
			<span id='prov'>
			Provinsi : <select id="provinsi" name="provinsi" style="width:150px; border: 1px solid silver; padding: 1px;">
							<?=$optprovinsi?>
						</select>
			</span>
			
			<span id='kab'>
			
			Kabupaten : <select id="kabupaten" name="kabupaten" style="width:150px; border: 1px solid silver; padding: 1px;">
							<?=$optkabupaten?>
						</select>
			</span>
			<span id='kec'>
			Kecamatan : <select id="kecamatan" name="kecamatan" style="width:150px; border: 1px solid silver; padding: 1px;">
							<?=$optkecamatan?>
						</select>
			</span>
			<span id='kel'>
			Kelurahan : <select id="kelurahan" name="kelurahan" style="width:150px; border: 1px solid silver; padding: 1px;">
							<?=$optkelurahan?>
						</select>
			</span>
			
			<span id='wil'>
			Wilayah : <input type='text' id="nama_wilayah" name='nama_wilayah' style="width:150px; border: 1px solid silver; padding: 1px;">
			</span>
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="">
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "dealer"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="A.id_group_dealer">Group Dealer</option>
							<option value="A.nama_dealer">Nama Dealer</option>
						</select>
			&nbsp;
			<span id='grup_dealer'>
				Group Dealer : <select id="group_dealer" name="group_dealer" style="width:150px; border: 1px solid silver; padding: 1px;">
									<?=$optgroupdealer?>
								</select>
			</span>
			<span id='nm_dealer'>
				Nama Dealer : <input type='text' id="nama_dealer" name='nama_dealer' style="width:150px; border: 1px solid silver; padding: 1px;">
			</span>
			
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "supplier"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="A.id_group_supplier">Group Supplier</option>
							<option value="A.nama_supplier">Nama Supplier</option>
						</select>
			&nbsp;		
			
			<span id='grup_supplier'>
				Group Supplier : <select id="group_supplier" name="group_supplier" style="width:150px; border: 1px solid silver; padding: 1px;">
									<?=$optgroupsupplier?>
								</select>
			</span>
			<span id='nm_supplier'>
				Nama Supplier : <input type='text' id='nama_supplier' name='nama_supplier' style="width:150px; border: 1px solid silver; padding: 1px;">
			</span>
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "customer"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="A.id_group_customer">Group Customer</option>
							<option value="A.nama_customer">Nama Customer</option>
						</select>
			&nbsp;				
			<span id='grup_customer'>
				Group Cust. : <select id="group_customer" name="group_customer" style="width:150px; border: 1px solid silver; padding: 1px;">
									<?=$optgroupcustomer?>
								</select>
			</span>
			<span id='nm_customer'>
				Nama Cust. : <input type='text' id='nama_customer' name='nama_customer' style="width:150px; border: 1px solid silver; padding: 1px;">
			</span>
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "gudang"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="A.id_group_dealer">Dealer</option>
							<option value="A.nama_gudang">Nama Gudang</option>
						</select>
			&nbsp;				
			<span id='dealer_gdg'>
			Dealer : <select id="dealer_gudang" name="dealer_gudang" style="width:150px; border: 1px solid silver; padding: 1px;">
								<?=$optdealer?>
							</select>
			</span>
			<span id='nm_gdg'>
			Nama Gudang : <input type='text' id='nama_gudang' name='nama_gudang' style="width:150px; border: 1px solid silver; padding: 1px;">
			</span>
			
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "karyawan"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="nm_dealer">Nama Dealer</option>
							<option value="nm_krywn">Nama Karyawan</option>
							<option value="agma">Agama</option>
							<option value="dvs">Divisi</option>
						</select>
			&nbsp;
			<span id='dealer'>
				Dealer : <select id="dealer_karyawan" name="dealer_karyawan" style="width:150px; border: 1px solid silver; padding: 1px;">
							<?=$optdealer?>					 
						 </select>
			</span>
			
			<span id='agama'>
				Agama : <select id="agama_karyawan" name="agama_karyawan" style="width:150px; border: 1px solid silver; padding: 1px;">
							<?=$optagama?>
						 </select>
			</span>
			
			<span id='divisi'>
				Divisi : <select id="divisi_karyawan" name="divisi_karyawan" style="width:150px; border: 1px solid silver; padding: 1px;">
							<?=$optdivisi?>					 
						 </select>
			</span>
			
			<span id='karyawans'>
				Nama Karyawan : <input type='text' id='nama_karyawan' name='nama_karyawan' style="width:150px; border: 1px solid silver; padding: 1px;">		
			</span>
			
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "pihak"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="nm_phk_ketiga">Nama Karyawan</option>
							<option value="agama_phak_ketiga">Agama</option>
						</select>
			&nbsp;
			
			<span id='pihak_ketiga'>
				Nama : <input type='text' id='nama_pihak' name='nama_pihak' style="width:150px; border: 1px solid silver; padding: 1px;">		
			</span>
			<span id='agama_phk'>
				Agama : <select id="agama_karyawan" name="agama_karyawan" style="width:150px; border: 1px solid silver; padding: 1px;">
							<?=$optagama?>
						 </select>
			</span>
			
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "kas"){ ?>
	<div id="toolbar_<?=$type?>">  	
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="dealer_ks">Dealer</option>
							<option value="nama_ks">Nama Kas</option>
						</select>
			&nbsp;				
			<span id='dealer_kass'>
			Dealer : <select id="dealer_kas" name="dealer_kas" style="width:150px; border: 1px solid silver; padding: 1px;">
								<?=$optdealer?>
							</select>
			</span>
			<span id='nm_kas'>
			Nama Kas : <input type='text' id='nama_kas' name='nama_kas' style="width:150px; border: 1px solid silver; padding: 1px;">
			</span>
			
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "aktiva"){ ?>
	<div id="toolbar_<?=$type?>">  	
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori : <select id="category_<?=$type?>" name="category" style="width:150px; border: 1px solid silver; padding: 1px;">
							<option value="">-- Select --</option>
							<option value="dealer_akt">Dealer</option>
							<option value="nama_akt">Nama Aktiva</option>
						</select>
			&nbsp;				
			<span id='dealer_aktif'>
			Dealer : <select id="dealer_aktiva" name="dealer_aktiva" style="width:150px; border: 1px solid silver; padding: 1px;">
								<?=$optdealer?>
							</select>
			</span>
			<span id='nm_aktiva'>
			Nama Kas : <input type='text' id='nama_aktiva' name='nama_aktiva' style="width:150px; border: 1px solid silver; padding: 1px;">
			</span>
			
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "warna"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kode : <input type='text' id='kode_warna' name='kode_warna' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			Nama : <input type='text' id='nama_warna' name='nama_warna' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "motor"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Motor : <select id="kategori_motor" name="kategori_motor" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Motor : <input type='text' id='nama_motor' name='nama_motor' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "sparepart"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Sparepart : <select id="kategori_sparepart" name="kategori_sparepart" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Sparepart : <input type='text' id='nama_sparepart' name='nama_sparepart' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			Merk : <input type='text' id='merk_sparepart' name='merk_sparepart' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "generator"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Generator : <select id="kategori_sparepart" name="kategori_sparepart" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Generator : <input type='text' id='nama_sparepart' name='nama_sparepart' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>		
		</div>
	</div>
<?php }elseif($type == "service"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Service : <select id="kategori_service" name="kategori_service" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>				
		</div>
	</div>
<?php }elseif($type == "peralatan_service"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Barang : <select id="kategori_peralatanservice" name="kategori_peralatanservice" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Fungsi : <input type='text' id='fungsi_peralatanservice' name='fungsi_peralatanservice' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			Type : <input type='text' id='type_peralatanservice' name='type_peralatanservice' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>				
		</div>
	</div>
<?php }elseif($type == "barang_promosi"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Barang : <select id="kategori_barangpromosi" name="kategori_barangpromosi" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_barangpromosi' name='nama_barangpromosi' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "harga_belimotor"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Barang : <select id="kategori_hargabelimotor" name="kategori_hargabelimotor" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_hargabelimotor' name='nama_hargabelimotor' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "harga_beliperalatanservice"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Barang : <select id="kategori_hargabeliperalatanservice" name="kategori_hargabeliperalatanservice" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_hargabeliperalatanservice' name='nama_hargabeliperalatanservice' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "harga_belisparepart"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Barang : <select id="kategori_hargabelisparepart" name="kategori_hargabelisparepart" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_hargabelisparepart' name='nama_hargabelisparepart' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "harga_beligenerator"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Kategori Barang : <select id="kategori_hargabeligenerator" name="kategori_hargabeligenerator" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_hargabeligenerator' name='nama_hargabeligenerator' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "harga_jualmotor"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Dealer : <select id="dealer_hargajualmotor" name="dealer_hargajualmotor" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Kategori Barang : <select id="kategori_hargajualmotor" name="kategori_hargajualmotor" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_hargajualmotor' name='nama_hargajualmotor' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "harga_jasaservice"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Dealer : <select id="dealer_hargajasaservice" name="dealer_hargajasaservice" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;		
			Kategori Barang : <select id="kategori_hargajasaservice" name="kategori_hargajasaservice" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_hargajasaservice' name='nama_hargajasaservice' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "harga_jualsparepart"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Dealer : <select id="dealer_hargajualsparepart" name="dealer_hargajualsparepart" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;		
			Kategori Barang : <select id="kategori_hargajualsparepart" name="kategori_hargajualsparepart" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_hargajualsparepart' name='nama_hargajualsparepart' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "harga_jualgenerator"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Dealer : <select id="dealer_hargajualgenerator" name="dealer_hargajualgenerator" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;		
			Kategori Barang : <select id="kategori_hargajualgenerator" name="kategori_hargajualgenerator" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
							</select>
			&nbsp;
			Nama Barang : <input type='text' id='nama_proses_promosi' name='nama_proses_promosi' style="width:150px; border: 1px solid silver; padding: 1px;">		
			&nbsp;
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "proses_promosi_unit"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Tgl. Transaksi : <input type="textfield" id="start_date" name="start_date" class="datebox"> s/d 
								<input type="textfield" id="end_date" name="end_date" class="datebox"> &nbsp;
			Proses Promosi : <select id="proses_promosi" name="proses_promosi" style="width:170px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Dealer</option>
								<option value="">Nama Barang</option>
								<option value="">Nama Program Promosi</option>
							</select>
							<input type='text' id='nama_proses_promosi' name='nama_proses_promosi' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "proses_promosi_service"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Tgl. Transaksi : <input type="textfield" id="start_date" name="start_date" class="datebox"> s/d 
								<input type="textfield" id="end_date" name="end_date" class="datebox"> &nbsp;
			Proses Promosi : <select id="proses_promosi" name="proses_promosi" style="width:170px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Dealer</option>
								<option value="">Nama Barang</option>
								<option value="">Nama Program Promosi</option>
							</select>
							<input type='text' id='nama_proses_promosi' name='nama_proses_promosi' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "proses_promosi_sparepart"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Tgl. Transaksi : <input type="textfield" id="start_date" name="start_date" class="datebox"> s/d 
								<input type="textfield" id="end_date" name="end_date" class="datebox"> &nbsp;
			Data Barang : <select id="data_barang" name="data_barang" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Dealer</option>
								<option value="">Nama Barang</option>
							</select>
							<input type='text' id='nama_data_barang' name='nama_data_barang' style="width:150px; border: 1px solid silver; padding: 2px;">
			Data Program Promosi : <select id="data_program_promosi" name="data_program_promosi" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Program</option>
								<option value="">Support</option>
							</select>
							<input type='text' id='nama_data_program_promosi' name='nama_data_program_promosi' style="width:150px; border: 1px solid silver; padding: 2px;">

			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "proses_bbn_unit"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Data Barang : <select id="data_barang" name="data_barang" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Dealer</option>
								<option value="">Nama Barang</option>
							</select>
							<input type='text' id='nama_data_barang' name='nama_data_barang' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "proses_pembiayaan_unit"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Data Barang : <select id="data_barang" name="data_barang" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Dealer</option>
								<option value="">Nama Barang</option>
							</select>
							<input type='text' id='nama_data_barang' name='nama_data_barang' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "proses_service_ksg"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Data Proses Service : <select id="data_barang" name="data_barang" style="width:150px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Kategori Service</option>
								<option value="">Nama Barang</option>
							</select>
							<input type='text' id='nama_data_barang' name='nama_data_barang' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "kode_akun"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Daftar Akun : <input class="easyui-searchbox" data-options="prompt:'Please Input Value',searcher:doSearch" style="width:150px; border: 1px solid silver; padding: 2px;"></input> &nbsp;
				<input type='text' id='daftar_akun' name='daftar_akun' style="width:150px; border: 1px solid silver; padding: 2px;">

			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "akun_kas"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Daftar Akun : <select id="daftar_akun" name="daftar_akun" style="width:170px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Group Barang</option>
								<option value="">Nama Kategori Barang</option>
							</select>
							<input type='text' id='nama_daftar_akun' name='nama_daftar_akun' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "akun_barang_jasa"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Daftar Akun : <select id="daftar_akun" name="daftar_akun" style="width:170px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Group Barang</option>
								<option value="">Nama Kategori Barang</option>
							</select>
							<input type='text' id='nama_daftar_akun' name='nama_daftar_akun' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "akun_aktifa_tetap"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Daftar Akun : <select id="daftar_akun" name="daftar_akun" style="width:170px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Group Barang</option>
								<option value="">Nama Kategori Barang</option>
							</select>
							<input type='text' id='nama_daftar_akun' name='nama_daftar_akun' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php }elseif($type == "akun_saldo"){ ?>
	<div id="toolbar_<?=$type?>">  
		<div style="margin-top:3px; margin-bottom:3px; margin-left:3px; font-family:Arial, Helvetica, sans-serif;" id="tool_wilayah">
			Daftar Akun : <select id="daftar_akun" name="daftar_akun" style="width:170px; border: 1px solid silver; padding: 1px;">
								<option value="">-- Select --</option>
								<option value="">Nama Group Barang</option>
								<option value="">Nama Kategori Barang</option>
							</select>
							<input type='text' id='nama_daftar_akun' name='nama_daftar_akun' style="width:150px; border: 1px solid silver; padding: 2px;">
			<a id="find_<?=$type?>" class="l-btn l-btn-plain" href="#" onclick="" >
				<span class="l-btn-left">
					<span class="l-btn-text icon-search" style="padding-left: 20px;">Search</span>
				</span>
			</a>
		</div>
	</div>
<?php } ?>

<!-- Toolbar Bray -->
<div style="display:inline-block; border:1px solid #DDDDDD; border-radius: 3px 3px 3px 3px; margin-top:7px; padding:5px;width:99%">					
<?php if($type == "sparepart"){?>
	<a href="#" onClick="" class="l-btn l-btn-plain" style="float:right;">
		<span class="l-btn-left">
			<span style="padding-left: 20px;" class="l-btn-text import">Import</span>
		</span>
	</a>
<?php }?>
	<a href="#" onClick="" class="l-btn l-btn-plain" style="float:right;margin-right:5px;">
		<span class="l-btn-left">
			<span style="padding-left: 20px;" class="l-btn-text ekspor_excell">Export</span>
		</span>
	</a>
	
	<a href="#" onClick="" class="l-btn l-btn-plain" style="float:right;margin-right:5px;">
		<span class="l-btn-left">
			<span style="padding-left: 20px;" class="l-btn-text icon-print">Detail</span>
		</span>
	</a>
	
	<a href="#" onClick="del();" class="l-btn l-btn-plain" style="float:right;margin-right:5px;">
		<span class="l-btn-left">
			<span style="padding-left: 20px;" class="l-btn-text icon-cancel">Delete</span>
		</span>
	</a>
		
	<a href="#" onClick="edit();" class="l-btn l-btn-plain" style="float:right;margin-right:5px;">
		<span class="l-btn-left">
			<span style="padding-left: 20px;" class="l-btn-text icon-edit">Edit</span>
		</span>
	</a>		
		
	<a href="#" onClick="add();" class="l-btn l-btn-plain" style="float:right;margin-right:5px;">
		<span class="l-btn-left">
			<span style="padding-left: 20px;" class="l-btn-text icon-add">Add</span>
		</span>
	</a>
</div>

<script>
	var type = "<?=$type?>";
	$('#find_'+type).css({'float':'right'});
</script>
<script type="text/javascript" src="<?=base_url()?>assets/js/master/master_tab.js"></script>

